import { request } from '../request.js'
const affiliation = {
	initData (params) {
	  return request({
	    method: 'Get',
	    url: '/api/uac/front/member/myAgent',
	    params: params
	  })
	},
	agentById (params) {
	  return request({
	    method: 'Get',
	    url: '/api/agent/agent/'+params,
	    params: params
	  })
	},
	bindSearch (params) {
	  return request({
	    method: 'Get',
	    url: '/api/agent/front/agent/bindSearch',
	    params: params
	  })
	},
	reBind(params){
		return request({
		  method: 'Get',
		  url: '/api/uac/front/member/reBindAgent',
		  params: params
		})
	},
	unBind(params){
		return request({
		  method: 'Get',
		  url: '/api/uac/front/member/unBind',
		  params: params
		})
	}
	}
export default affiliation